<style>
    .new_about {
        background-color: black;
        color: #32CD32;
    }
</style>
<h1 class="t_nav"><span>访客花名：{{session('user_name')}},您现在的位置是：首页 > 慢生活 > 程序人生</span><a href="/" class="n1">网站首页</a><a href="/" class="n2">慢生活</a></h1>
<div class="infosbox">
    <div class="newsview">
        <h3 class="news_title">{{$article_info->title}}</h3>
        <div class="bloginfo">
            <ul>
                <li class="author"><a href="/">{{$article_info->name}}</a></li>
                <li class="lmname"><a href="/">{{$article_info->source_name}}</a></li>
                <li class="timer">{{date("Y-m-d",strtotime($article_info->create_time))}}</li>
                <li class="view">{{$article_info->read_num}}已阅读</li>
                <li class="like" data-id="{{$article_info->id}}">{{$article_info->like}}</li>
            </ul>
        </div>
        <div class="tags"><a href="/" target="_blank">个人博客</a> &nbsp; <a href="/" target="_blank">Nginx</a></div>
        <div class="news_con"> {!! $article_info->content_all !!} </div>
    </div>
    <div class="share">
        <p class="diggit" data-id="{{$article_info->id}}"><a
                    href="javascript:void(0)">
                很赞哦！ </a>(<b id="diggnum">
                {{$article_info->like}}</b>)
        </p>
        <p class="dasbox"><a href="javascript:void(0)" onClick="dashangToggle()" class="dashang"
                             title="打赏，支持一下">打赏本站</a></p>
        <div class="hide_box"></div>
        <div class="shang_box"><a class="shang_close" href="javascript:void(0)" onclick="dashangToggle()"
                                  title="关闭">关闭</a>
            <div class="shang_tit">
                <p>感谢您的支持，我会继续努力的!</p>
            </div>
            <div class="shang_payimg"><img src="{{URL::asset('images/alipayimg.jpg')}}" alt="扫码支持" title="扫一扫"></div>
            <div class="pay_explain">扫码打赏，你说多少就多少</div>
            <div class="shang_payselect">
                <div class="pay_item checked" data-id="alipay"><span class="radiobox"></span> <span
                            class="pay_logo"><img src="{{URL::asset('images/alipay.jpg')}}" alt="支付宝"></span></div>
                <div class="pay_item" data-id="weipay"><span class="radiobox"></span> <span class="pay_logo"><img
                                src="{{URL::asset('images/wechat.jpg')}}" alt="微信"></span></div>
            </div>
            <script type="text/javascript">
                $(function () {

                    $(".pay_item").click(function () {
                        $(this).addClass('checked').siblings('.pay_item').removeClass('checked');
                        var dataid = $(this).attr('data-id');
                        var url = '{{URL::asset("images/weipayimg.jpg")}}';
                        if (dataid == 'alipay') {
                            url = '{{URL::asset("images/alipayimg.jpg")}}';
                        }
                        $(".shang_payimg img").attr("src", url);
                        $("#shang_pay_txt").text(dataid == "alipay" ? "支付宝" : "微信");
                    });
                });

                function dashangToggle() {
                    $(".hide_box").fadeToggle();
                    $(".shang_box").fadeToggle();
                }
            </script>
        </div>
    </div>
    <div class="nextinfo">
        <p>上一篇：
            @if(isset($pre_article_info))
                <a href="{{action('ArticleController@ArticleInfo',$pre_article_info->id)}}">{{$pre_article_info->title}}</a>
            @else
                <a href="{{action('MainController@index')}}">返回列表</a>
            @endif

        </p>
        <p>下一篇：
            @if(isset($next_article_info))
                <a href="{{action('ArticleController@ArticleInfo',$next_article_info->id)}}">{{$next_article_info->title}}</a>
            @else
                <a href="{{action('MainController@index')}}">返回列表</a>
            @endif
        </p>
    </div>
    <div class="otherlink">
        <h2>相关文章</h2>
        <ul>
            <li><a href="/download/div/2018-04-22/815.html" title="html5个人博客模板《黑色格调》">html5个人博客模板《黑色格调》</a></li>
            <li><a href="/download/div/2018-04-18/814.html" title="html5个人博客模板主题《清雅》">html5个人博客模板主题《清雅》</a></li>
            <li><a href="/download/div/2018-03-18/807.html" title="html5个人博客模板主题《绅士》">html5个人博客模板主题《绅士》</a></li>
            <li><a href="/download/div/2018-02-22/798.html" title="html5时尚个人博客模板-技术门户型">html5时尚个人博客模板-技术门户型</a></li>
            <li><a href="/download/div/2017-09-08/789.html" title="html5个人博客模板主题《心蓝时间轴》">html5个人博客模板主题《心蓝时间轴》</a></li>
            <li><a href="/download/div/2017-07-16/785.html" title="古典个人博客模板《江南墨卷》">古典个人博客模板《江南墨卷》</a></li>
            <li><a href="/download/div/2017-07-13/783.html" title="古典风格-个人博客模板">古典风格-个人博客模板</a></li>
            <li><a href="/download/div/2015-06-28/748.html" title="个人博客《草根寻梦》—手机版模板">个人博客《草根寻梦》—手机版模板</a></li>
            <li><a href="/download/div/2015-04-10/746.html" title="【活动作品】柠檬绿兔小白个人博客模板">【活动作品】柠檬绿兔小白个人博客模板</a></li>
            <li><a href="/jstt/bj/2015-01-09/740.html" title="【匆匆那些年】总结个人博客经历的这四年…">【匆匆那些年】总结个人博客经历的这四年…</a></li>
        </ul>
    </div>
    <div class="news_pl">
        <h2>文章评论</h2>
        <ul>
            <div class="gbko"></div>
        </ul>
    </div>
</div>
<script src="{{URL::asset('js/article/info.js')}}" type="text/javascript"></script>
